home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK2.toast / Development Kits (Disc 2) / QuickTime / Programming Stuff / QuickTime 2.1 for Developers / Interfaces / AIncludes / ImageCompression.a < prev    next >
Encoding:
Text File  |  1995-08-07  |  40.4 KB  |  1,836 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        ImageCompression.a
  3. ;
  4. ;    Contains:    QuickTime interfaces
  5. ;
  6. ;    Version:    
  7. ;
  8. ;    DRI:        Jim Batson
  9. ;
  10. ;    Copyright:    © 1984-1994 by Apple Computer, Inc.
  11. ;                All rights reserved.
  12. ;
  13. ;    Warning:    *** APPLE INTERNAL USE ONLY ***
  14. ;                This file may contain unreleased API's
  15. ;
  16. ;    BuildInfo:    Built by:            QuickTime
  17. ;                With Interfacer:    1.1d11  
  18. ;                From:                ImageCompression.i
  19. ;                    Revision:        0
  20. ;                    Dated:            08/07/95
  21. ;                    Last change by:    JB
  22. ;                    Last comment:    This is a fake header used so interfacer is happy.
  23. ;
  24. ;    Bugs:        Report bugs to Radar component “System Interfaces”, “Latest”
  25. ;                List the version information (from above) in the Problem Description.
  26. ;
  27. ;
  28.  
  29.     IF &TYPE('__IMAGECOMPRESSION__') = 'UNDEFINED' THEN
  30. __IMAGECOMPRESSION__ SET 1
  31.  
  32.  
  33.     IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
  34.     include 'Types.a'
  35.     ENDIF
  36. ;        include 'ConditionalMacros.a'                                ;
  37.  
  38.     IF &TYPE('__QUICKDRAW__') = 'UNDEFINED' THEN
  39.     include 'Quickdraw.a'
  40.     ENDIF
  41. ;        include 'MixedMode.a'                                        ;
  42. ;        include 'QuickdrawText.a'                                    ;
  43.  
  44.     IF &TYPE('__QDOFFSCREEN__') = 'UNDEFINED' THEN
  45.     include 'QDOffscreen.a'
  46.     ENDIF
  47. ;        include 'Errors.a'                                            ;
  48.  
  49.     IF &TYPE('__COMPONENTS__') = 'UNDEFINED' THEN
  50.     include 'Components.a'
  51.     ENDIF
  52.  
  53.     IF &TYPE('__WINDOWS__') = 'UNDEFINED' THEN
  54.     include 'Windows.a'
  55.     ENDIF
  56. ;        include 'Memory.a'                                            ;
  57. ;        include 'Events.a'                                            ;
  58. ;            include 'OSUtils.a'                                    ;
  59. ;        include 'Controls.a'                                        ;
  60. ;            include 'Menus.a'                                        ;
  61.  
  62.     IF &TYPE('__STANDARDFILE__') = 'UNDEFINED' THEN
  63.     include 'StandardFile.a'
  64.     ENDIF
  65. ;        include 'Dialogs.a'                                        ;
  66. ;            include 'TextEdit.a'                                    ;
  67. ;        include 'Files.a'                                            ;
  68. MatrixRecord             RECORD    0
  69. matrix                     ds.l    9
  70. sizeof                     EQU    *
  71.                         ENDR
  72.  
  73. ; typedef struct MatrixRecord  MatrixRecord, *MatrixRecordPtr
  74. FixedPoint                 RECORD    0
  75. x                         ds.l    1
  76. y                         ds.l    1
  77. sizeof                     EQU    *
  78.                         ENDR
  79.  
  80. ; typedef struct FixedPoint  FixedPoint
  81. FixedRect                 RECORD    0
  82. left                     ds.l    1
  83. top                         ds.l    1
  84. right                     ds.l    1
  85. bottom                     ds.l    1
  86. sizeof                     EQU    *
  87.                         ENDR
  88.  
  89. ; typedef struct FixedRect     FixedRect
  90. ; These are the bits that are set in the Component flags, and also in the codecInfo struct. 
  91.  
  92. codecInfoDoes1                    EQU        (1 << 0)
  93. codecInfoDoes2                    EQU        (1 << 1)
  94. codecInfoDoes4                    EQU        (1 << 2)
  95. codecInfoDoes8                    EQU        (1 << 3)
  96. codecInfoDoes16                    EQU        (1 << 4)
  97. codecInfoDoes32                    EQU        (1 << 5)
  98. codecInfoDoesDither                EQU        (1 << 6)
  99. codecInfoDoesStretch            EQU        (1 << 7)
  100. codecInfoDoesShrink                EQU        (1 << 8)
  101. codecInfoDoesMask                EQU        (1 << 9)
  102. codecInfoDoesTemporal            EQU        (1 << 10)
  103. codecInfoDoesDouble                EQU        (1 << 11)
  104. codecInfoDoesQuad                EQU        (1 << 12)
  105. codecInfoDoesHalf                EQU        (1 << 13)
  106. codecInfoDoesQuarter            EQU        (1 << 14)
  107. codecInfoDoesRotate                EQU        (1 << 15)
  108. codecInfoDoesHorizFlip            EQU        (1 << 16)
  109. codecInfoDoesVertFlip            EQU        (1 << 17)
  110. codecInfoDoesSkew                EQU        (1 << 18)
  111. codecInfoDoesBlend                EQU        (1 << 19)
  112. codecInfoDoesWarp                EQU        (1 << 20)
  113. codecInfoDoesRecompress            EQU        (1 << 21)
  114. codecInfoDoesSpool                EQU        (1 << 22)
  115. codecInfoDoesRateConstrain        EQU        (1 << 23)
  116.  
  117. codecInfoDepth1                    EQU        (1 << 0)
  118. codecInfoDepth2                    EQU        (1 << 1)
  119. codecInfoDepth4                    EQU        (1 << 2)
  120. codecInfoDepth8                    EQU        (1 << 3)
  121. codecInfoDepth16                EQU        (1 << 4)
  122. codecInfoDepth32                EQU        (1 << 5)
  123. codecInfoDepth24                EQU        (1 << 6)
  124. codecInfoDepth33                EQU        (1 << 7)
  125. codecInfoDepth34                EQU        (1 << 8)
  126. codecInfoDepth36                EQU        (1 << 9)
  127. codecInfoDepth40                EQU        (1 << 10)
  128. codecInfoStoresClut                EQU        (1 << 11)
  129. codecInfoDoesLossless            EQU        (1 << 12)
  130. codecInfoSequenceSensitive        EQU        (1 << 13)
  131.  
  132. codecFlagUseImageBuffer            EQU        (1 << 0)
  133. codecFlagUseScreenBuffer        EQU        (1 << 1)
  134. codecFlagUpdatePrevious            EQU        (1 << 2)
  135. codecFlagNoScreenUpdate            EQU        (1 << 3)
  136. codecFlagWasCompressed            EQU        (1 << 4)
  137. codecFlagDontOffscreen            EQU        (1 << 5)
  138. codecFlagUpdatePreviousComp        EQU        (1 << 6)
  139. codecFlagForceKeyFrame            EQU        (1 << 7)
  140. codecFlagOnlyScreenUpdate        EQU        (1 << 8)
  141. codecFlagLiveGrab                EQU        (1 << 9)
  142. codecFlagDontUseNewImageBuffer    EQU        (1 << 10)
  143. codecFlagInterlaceUpdate        EQU        (1 << 11)
  144. codecFlagCatchUpDiff            EQU        (1 << 12)
  145. codecFlagUsedNewImageBuffer        EQU        (1 << 14)
  146. codecFlagUsedImageBuffer        EQU        (1 << 15)
  147.  
  148. ; The minimum data size for spooling in or out data 
  149. codecMinimumDataSize            EQU        32768
  150.  
  151. compressorComponentType            EQU        'imco'                ; the type for "Components" which compress images 
  152. decompressorComponentType        EQU        'imdc'
  153.  
  154. ; typedef Component         CompressorComponent
  155. ; typedef Component         DecompressorComponent
  156. ; typedef Component         CodecComponent
  157.  
  158. anyCodec                        EQU        0                    ; take first working codec of given type 
  159. bestSpeedCodec                    EQU        -1                    ; take fastest codec of given type 
  160. bestFidelityCodec                EQU        -2                    ; take codec which is most accurate 
  161. bestCompressionCodec            EQU        -3                    ; take codec of given type that is most accurate 
  162.  
  163. ; typedef long                 CodecType
  164. ; typedef unsigned short     CodecFlags
  165. ; typedef unsigned long     CodecQ
  166.  
  167. codecLosslessQuality            EQU        $400
  168. codecMaxQuality                    EQU        $3ff
  169. codecMinQuality                    EQU        $000
  170. codecLowQuality                    EQU        $100
  171. codecNormalQuality                EQU        $200
  172. codecHighQuality                EQU        $300
  173.  
  174. codecCompletionSource            EQU        (1 << 0)            ; asynchronous codec is done with source data 
  175. codecCompletionDest                EQU        (1 << 1)            ; asynchronous codec is done with destination data 
  176. codecCompletionDontUnshield        EQU        (1 << 2)            ; on dest complete don't unshield cursor 
  177.  
  178. codecProgressOpen                EQU        0
  179. codecProgressUpdatePercent        EQU        1
  180. codecProgressClose                EQU        2
  181.  
  182. ; typedef void                 *ICMCursorNotify
  183. ; typedef long                 ImageSequence
  184. ; typedef long                 ImageSequenceDataSource
  185. ICMProgressProcRecord     RECORD    0
  186. progressProc             ds.l    1
  187. progressRefCon             ds.l    1
  188. sizeof                     EQU    *
  189.                         ENDR
  190.  
  191. ; typedef struct ICMProgressProcRecord  ICMProgressProcRecord, *ICMProgressProcRecordPtr
  192. ICMCompletionProcRecord RECORD    0
  193. completionProc             ds.l    1
  194. completionRefCon         ds.l    1
  195. sizeof                     EQU    *
  196.                         ENDR
  197.  
  198. ; typedef struct ICMCompletionProcRecord  ICMCompletionProcRecord, *ICMCompletionProcRecordPtr
  199. ICMDataProcRecord         RECORD    0
  200. dataProc                 ds.l    1
  201. dataRefCon                 ds.l    1
  202. sizeof                     EQU    *
  203.                         ENDR
  204.  
  205. ; typedef struct ICMDataProcRecord  ICMDataProcRecord, *ICMDataProcRecordPtr
  206. ICMFlushProcRecord         RECORD    0
  207. flushProc                 ds.l    1
  208. flushRefCon                 ds.l    1
  209. sizeof                     EQU    *
  210.                         ENDR
  211.  
  212. ; typedef struct ICMFlushProcRecord  ICMFlushProcRecord, *ICMFlushProcRecordPtr
  213. ICMAlignmentProcRecord     RECORD    0
  214. alignmentProc             ds.l    1
  215. alignmentRefCon             ds.l    1
  216. sizeof                     EQU    *
  217.                         ENDR
  218.  
  219. ; typedef struct ICMAlignmentProcRecord  ICMAlignmentProcRecord, *ICMAlignmentProcRecordPtr
  220. DataRateParams             RECORD    0
  221. dataRate                 ds.l    1
  222. dataOverrun                 ds.l    1
  223. frameDuration             ds.l    1
  224. keyFrameRate             ds.l    1
  225. minSpatialQuality         ds.l    1
  226. minTemporalQuality         ds.l    1
  227. sizeof                     EQU    *
  228.                         ENDR
  229.  
  230. ; typedef struct DataRateParams  DataRateParams, *DataRateParamsPtr
  231. ImageDescription         RECORD    0
  232. idSize                     ds.l    1                                    ; total size of ImageDescription including extra data ( CLUTs and other per sequence data 
  233. cType                     ds.l    1                                    ; what kind of codec compressed this data 
  234. resvd1                     ds.l    1                                    ; reserved for Apple use 
  235. resvd2                     ds.w    1                                    ; reserved for Apple use 
  236. dataRefIndex             ds.w    1                                    ; set to zero  
  237. version                     ds.w    1                                    ; which version is this data 
  238. revisionLevel             ds.w    1                                    ; what version of that codec did this 
  239. vendor                     ds.l    1                                    ; whose  codec compressed this data 
  240. temporalQuality             ds.l    1                                    ; what was the temporal quality factor  
  241. spatialQuality             ds.l    1                                    ; what was the spatial quality factor 
  242. width                     ds.w    1                                    ; how many pixels wide is this data 
  243. height                     ds.w    1                                    ; how many pixels high is this data 
  244. hRes                     ds.l    1                                    ; horizontal resolution 
  245. vRes                     ds.l    1                                    ; vertical resolution 
  246. dataSize                 ds.l    1                                    ; if known, the size of data for this image descriptor 
  247. frameCount                 ds.w    1                                    ; number of frames this description applies to 
  248. name                     ds.l    8                                    ; name of codec ( in case not installed )  
  249. depth                     ds.w    1                                    ; what depth is this data (1-32) or ( 33-40 grayscale ) 
  250. clutID                     ds.w    1                                    ; clut id or if 0 clut follows  or -1 if no clut 
  251. sizeof                     EQU    *
  252.                         ENDR
  253.  
  254. ; typedef struct ImageDescription  ImageDescription, *ImageDescriptionPtr, **ImageDescriptionHandle
  255. CodecInfo                 RECORD    0
  256. typeName                 ds.l    8                                    ; name of the codec type i.e.: 'Apple Image Compression' 
  257. version                     ds.w    1                                    ; version of the codec data that this codec knows about 
  258. revisionLevel             ds.w    1                                    ; revision level of this codec i.e: 0x00010001 (1.0.1) 
  259. vendor                     ds.l    1                                    ; Maker of this codec i.e: 'appl' 
  260. decompressFlags             ds.l    1                                    ; codecInfo flags for decompression capabilities 
  261. compressFlags             ds.l    1                                    ; codecInfo flags for compression capabilities 
  262. formatFlags                 ds.l    1                                    ; codecInfo flags for compression format details 
  263. compressionAccuracy         ds.b    1                                    ; measure (1-255) of accuracy of this codec for compress (0 if unknown) 
  264. decompressionAccuracy     ds.b    1                                    ; measure (1-255) of accuracy of this codec for decompress (0 if unknown) 
  265. compressionSpeed         ds.w    1                                    ; ( millisecs for compressing 320x240 on base mac II) (0 if unknown)  
  266. decompressionSpeed         ds.w    1                                    ; ( millisecs for decompressing 320x240 on mac II)(0 if unknown)  
  267. compressionLevel         ds.b    1                                    ; measure (1-255) of compression level of this codec (0 if unknown)  
  268. resvd                     ds.b    1                                    ; pad 
  269. minimumHeight             ds.w    1                                    ; minimum height of image (block size) 
  270. minimumWidth             ds.w    1                                    ; minimum width of image (block size) 
  271. decompressPipelineLatency ds.w    1                                    ; in milliseconds ( for asynchronous codecs ) 
  272. compressPipelineLatency     ds.w    1                                    ; in milliseconds ( for asynchronous codecs ) 
  273. privateData                 ds.l    1
  274. sizeof                     EQU    *
  275.                         ENDR
  276.  
  277. ; typedef struct CodecInfo     CodecInfo
  278. CodecNameSpec             RECORD    0
  279. codec                     ds.l    1
  280. cType                     ds.l    1
  281. typeName                 ds.l    8
  282. name                     ds.l    1
  283. sizeof                     EQU    *
  284.                         ENDR
  285.  
  286. ; typedef struct CodecNameSpec  CodecNameSpec
  287. CodecNameSpecList         RECORD    0
  288. count                     ds.w    1
  289. list                     ds        CodecNameSpec
  290. sizeof                     EQU    *
  291.                         ENDR
  292.  
  293. ; typedef struct CodecNameSpecList  CodecNameSpecList, *CodecNameSpecListPtr
  294.  
  295. defaultDither                    EQU        0
  296. forceDither                        EQU        1
  297. suppressDither                    EQU        2
  298. useColorMatching                EQU        4
  299.  
  300. ICMFrameTimeRecord         RECORD    0
  301. value                     ds        wide                                ; frame time
  302. scale                     ds.l    1                                    ; timescale of value/duration fields
  303. base                     ds.l    1                                    ; timebase
  304. duration                 ds.l    1                                    ; duration frame is to be displayed (0 if unknown)
  305. rate                     ds.l    1                                    ; rate of timebase relative to wall-time
  306. sizeof                     EQU    *
  307.                         ENDR
  308.  
  309. ; typedef struct ICMFrameTimeRecord  ICMFrameTimeRecord, *ICMFrameTimePtr
  310. ;
  311. ; pascal OSErr CodecManagerVersion(long *version)
  312. ;
  313.     IF ¬ GENERATINGCFM THEN
  314.         Macro
  315.         _CodecManagerVersion
  316.             moveq    #0,d0
  317.             dc.w     $AAA3
  318.         EndM
  319.     ELSE
  320.         IMPORT    CodecManagerVersion
  321.     ENDIF
  322.  
  323. ;
  324. ; pascal OSErr GetCodecNameList(CodecNameSpecListPtr *list, short showAll)
  325. ;
  326.     IF ¬ GENERATINGCFM THEN
  327.         Macro
  328.         _GetCodecNameList
  329.             moveq    #1,d0
  330.             dc.w     $AAA3
  331.         EndM
  332.     ELSE
  333.         IMPORT    GetCodecNameList
  334.     ENDIF
  335.  
  336. ;
  337. ; pascal OSErr DisposeCodecNameList(CodecNameSpecListPtr list)
  338. ;
  339.     IF ¬ GENERATINGCFM THEN
  340.         Macro
  341.         _DisposeCodecNameList
  342.             moveq    #15,d0
  343.             dc.w     $AAA3
  344.         EndM
  345.     ELSE
  346.         IMPORT    DisposeCodecNameList
  347.     ENDIF
  348.  
  349. ;
  350. ; pascal OSErr GetCodecInfo(CodecInfo *info, CodecType cType, CodecComponent codec)
  351. ;
  352.     IF ¬ GENERATINGCFM THEN
  353.         Macro
  354.         _GetCodecInfo
  355.             moveq    #3,d0
  356.             dc.w     $AAA3
  357.         EndM
  358.     ELSE
  359.         IMPORT    GetCodecInfo
  360.     ENDIF
  361.  
  362. ;
  363. ; pascal OSErr GetMaxCompressionSize(PixMapHandle src, const Rect *srcRect, short colorDepth, CodecQ quality, CodecType cType, CompressorComponent codec, long *size)
  364. ;
  365.     IF ¬ GENERATINGCFM THEN
  366.         Macro
  367.         _GetMaxCompressionSize
  368.             moveq    #4,d0
  369.             dc.w     $AAA3
  370.         EndM
  371.     ELSE
  372.         IMPORT    GetMaxCompressionSize
  373.     ENDIF
  374.  
  375. ;
  376. ; pascal OSErr GetCompressionTime(PixMapHandle src, const Rect *srcRect, short colorDepth, CodecType cType, CompressorComponent codec, CodecQ *spatialQuality, CodecQ *temporalQuality, unsigned long *compressTime)
  377. ;
  378.     IF ¬ GENERATINGCFM THEN
  379.         Macro
  380.         _GetCompressionTime
  381.             moveq    #5,d0
  382.             dc.w     $AAA3
  383.         EndM
  384.     ELSE
  385.         IMPORT    GetCompressionTime
  386.     ENDIF
  387.  
  388. ;
  389. ; pascal OSErr CompressImage(PixMapHandle src, const Rect *srcRect, CodecQ quality, CodecType cType, ImageDescriptionHandle desc, Ptr data)
  390. ;
  391.     IF ¬ GENERATINGCFM THEN
  392.         Macro
  393.         _CompressImage
  394.             moveq    #6,d0
  395.             dc.w     $AAA3
  396.         EndM
  397.     ELSE
  398.         IMPORT    CompressImage
  399.     ENDIF
  400.  
  401. ;
  402. ; pascal OSErr FCompressImage(PixMapHandle src, const Rect *srcRect, short colorDepth, CodecQ quality, CodecType cType, CompressorComponent codec, CTabHandle clut, CodecFlags flags, long bufferSize, ICMFlushProcRecordPtr flushProc, ICMProgressProcRecordPtr progressProc, ImageDescriptionHandle desc, Ptr data)
  403. ;
  404.     IF ¬ GENERATINGCFM THEN
  405.         Macro
  406.         _FCompressImage
  407.             moveq    #7,d0
  408.             dc.w     $AAA3
  409.         EndM
  410.     ELSE
  411.         IMPORT    FCompressImage
  412.     ENDIF
  413.  
  414. ;
  415. ; pascal OSErr DecompressImage(Ptr data, ImageDescriptionHandle desc, PixMapHandle dst, const Rect *srcRect, const Rect *dstRect, short mode, RgnHandle mask)
  416. ;
  417.     IF ¬ GENERATINGCFM THEN
  418.         Macro
  419.         _DecompressImage
  420.             moveq    #8,d0
  421.             dc.w     $AAA3
  422.         EndM
  423.     ELSE
  424.         IMPORT    DecompressImage
  425.     ENDIF
  426.  
  427. ;
  428. ; pascal OSErr FDecompressImage(Ptr data, ImageDescriptionHandle desc, PixMapHandle dst, const Rect *srcRect, MatrixRecordPtr matrix, short mode, RgnHandle mask, PixMapHandle matte, const Rect *matteRect, CodecQ accuracy, DecompressorComponent codec, long bufferSize, ICMDataProcRecordPtr dataProc, ICMProgressProcRecordPtr progressProc)
  429. ;
  430.     IF ¬ GENERATINGCFM THEN
  431.         Macro
  432.         _FDecompressImage
  433.             moveq    #9,d0
  434.             dc.w     $AAA3
  435.         EndM
  436.     ELSE
  437.         IMPORT    FDecompressImage
  438.     ENDIF
  439.  
  440. ;
  441. ; pascal OSErr CompressSequenceBegin(ImageSequence *seqID, PixMapHandle src, PixMapHandle prev, const Rect *srcRect, const Rect *prevRect, short colorDepth, CodecType cType, CompressorComponent codec, CodecQ spatialQuality, CodecQ temporalQuality, long keyFrameRate, CTabHandle clut, CodecFlags flags, ImageDescriptionHandle desc)
  442. ;
  443.     IF ¬ GENERATINGCFM THEN
  444.         Macro
  445.         _CompressSequenceBegin
  446.             moveq    #10,d0
  447.             dc.w     $AAA3
  448.         EndM
  449.     ELSE
  450.         IMPORT    CompressSequenceBegin
  451.     ENDIF
  452.  
  453. ;
  454. ; pascal OSErr CompressSequenceFrame(ImageSequence seqID, PixMapHandle src, const Rect *srcRect, CodecFlags flags, Ptr data, long *dataSize, UInt8 *similarity, ICMCompletionProcRecordPtr asyncCompletionProc)
  455. ;
  456.     IF ¬ GENERATINGCFM THEN
  457.         Macro
  458.         _CompressSequenceFrame
  459.             moveq    #11,d0
  460.             dc.w     $AAA3
  461.         EndM
  462.     ELSE
  463.         IMPORT    CompressSequenceFrame
  464.     ENDIF
  465.  
  466. ;
  467. ; pascal OSErr DecompressSequenceBegin(ImageSequence *seqID, ImageDescriptionHandle desc, CGrafPtr port, GDHandle gdh, const Rect *srcRect, MatrixRecordPtr matrix, short mode, RgnHandle mask, CodecFlags flags, CodecQ accuracy, DecompressorComponent codec)
  468. ;
  469.     IF ¬ GENERATINGCFM THEN
  470.         Macro
  471.         _DecompressSequenceBegin
  472.             moveq    #13,d0
  473.             dc.w     $AAA3
  474.         EndM
  475.     ELSE
  476.         IMPORT    DecompressSequenceBegin
  477.     ENDIF
  478.  
  479. ;
  480. ; pascal OSErr DecompressSequenceBeginS(ImageSequence *seqID, ImageDescriptionHandle desc, Ptr data, long dataSize, CGrafPtr port, GDHandle gdh, const Rect *srcRect, MatrixRecordPtr matrix, short mode, RgnHandle mask, CodecFlags flags, CodecQ accuracy, DecompressorComponent codec)
  481. ;
  482.     IF ¬ GENERATINGCFM THEN
  483.         Macro
  484.         _DecompressSequenceBeginS
  485.             dc.w     $203C
  486.             dc.w     $0030
  487.             dc.w     $005D
  488.             dc.w     $AAA3
  489.         EndM
  490.     ELSE
  491.         IMPORT    DecompressSequenceBeginS
  492.     ENDIF
  493.  
  494. ;
  495. ; pascal OSErr DecompressSequenceFrame(ImageSequence seqID, Ptr data, CodecFlags inFlags, CodecFlags *outFlags, ICMCompletionProcRecordPtr asyncCompletionProc)
  496. ;
  497.     IF ¬ GENERATINGCFM THEN
  498.         Macro
  499.         _DecompressSequenceFrame
  500.             moveq    #14,d0
  501.             dc.w     $AAA3
  502.         EndM
  503.     ELSE
  504.         IMPORT    DecompressSequenceFrame
  505.     ENDIF
  506.  
  507. ;
  508. ; pascal OSErr DecompressSequenceFrameS(ImageSequence seqID, Ptr data, long dataSize, CodecFlags inFlags, CodecFlags *outFlags, ICMCompletionProcRecordPtr asyncCompletionProc)
  509. ;
  510.     IF ¬ GENERATINGCFM THEN
  511.         Macro
  512.         _DecompressSequenceFrameS
  513.             dc.w     $203C
  514.             dc.w     $0016
  515.             dc.w     $0047
  516.             dc.w     $AAA3
  517.         EndM
  518.     ELSE
  519.         IMPORT    DecompressSequenceFrameS
  520.     ENDIF
  521.  
  522. ;
  523. ; pascal OSErr DecompressSequenceFrameWhen(ImageSequence seqID, Ptr data, long dataSize, CodecFlags inFlags, CodecFlags *outFlags, ICMCompletionProcRecordPtr asyncCompletionProc, const ICMFrameTimeRecord *frameTime)
  524. ;
  525.     IF ¬ GENERATINGCFM THEN
  526.         Macro
  527.         _DecompressSequenceFrameWhen
  528.             dc.w     $203C
  529.             dc.w     $001A
  530.             dc.w     $005E
  531.             dc.w     $AAA3
  532.         EndM
  533.     ELSE
  534.         IMPORT    DecompressSequenceFrameWhen
  535.     ENDIF
  536.  
  537. ;
  538. ; pascal OSErr CDSequenceFlush(ImageSequence seqID)
  539. ;
  540.     IF ¬ GENERATINGCFM THEN
  541.         Macro
  542.         _CDSequenceFlush
  543.             dc.w     $203C
  544.             dc.w     $0004
  545.             dc.w     $005F
  546.             dc.w     $AAA3
  547.         EndM
  548.     ELSE
  549.         IMPORT    CDSequenceFlush
  550.     ENDIF
  551.  
  552. ;
  553. ; pascal OSErr SetDSequenceMatrix(ImageSequence seqID, MatrixRecordPtr matrix)
  554. ;
  555.     IF ¬ GENERATINGCFM THEN
  556.         Macro
  557.         _SetDSequenceMatrix
  558.             moveq    #16,d0
  559.             dc.w     $AAA3
  560.         EndM
  561.     ELSE
  562.         IMPORT    SetDSequenceMatrix
  563.     ENDIF
  564.  
  565. ;
  566. ; pascal OSErr SetDSequenceMatte(ImageSequence seqID, PixMapHandle matte, const Rect *matteRect)
  567. ;
  568.     IF ¬ GENERATINGCFM THEN
  569.         Macro
  570.         _SetDSequenceMatte
  571.             moveq    #17,d0
  572.             dc.w     $AAA3
  573.         EndM
  574.     ELSE
  575.         IMPORT    SetDSequenceMatte
  576.     ENDIF
  577.  
  578. ;
  579. ; pascal OSErr SetDSequenceMask(ImageSequence seqID, RgnHandle mask)
  580. ;
  581.     IF ¬ GENERATINGCFM THEN
  582.         Macro
  583.         _SetDSequenceMask
  584.             moveq    #18,d0
  585.             dc.w     $AAA3
  586.         EndM
  587.     ELSE
  588.         IMPORT    SetDSequenceMask
  589.     ENDIF
  590.  
  591. ;
  592. ; pascal OSErr SetDSequenceTransferMode(ImageSequence seqID, short mode, const RGBColor *opColor)
  593. ;
  594.     IF ¬ GENERATINGCFM THEN
  595.         Macro
  596.         _SetDSequenceTransferMode
  597.             moveq    #19,d0
  598.             dc.w     $AAA3
  599.         EndM
  600.     ELSE
  601.         IMPORT    SetDSequenceTransferMode
  602.     ENDIF
  603.  
  604. ;
  605. ; pascal OSErr SetDSequenceDataProc(ImageSequence seqID, ICMDataProcRecordPtr dataProc, long bufferSize)
  606. ;
  607.     IF ¬ GENERATINGCFM THEN
  608.         Macro
  609.         _SetDSequenceDataProc
  610.             moveq    #20,d0
  611.             dc.w     $AAA3
  612.         EndM
  613.     ELSE
  614.         IMPORT    SetDSequenceDataProc
  615.     ENDIF
  616.  
  617. ;
  618. ; pascal OSErr SetDSequenceAccuracy(ImageSequence seqID, CodecQ accuracy)
  619. ;
  620.     IF ¬ GENERATINGCFM THEN
  621.         Macro
  622.         _SetDSequenceAccuracy
  623.             moveq    #52,d0
  624.             dc.w     $AAA3
  625.         EndM
  626.     ELSE
  627.         IMPORT    SetDSequenceAccuracy
  628.     ENDIF
  629.  
  630. ;
  631. ; pascal OSErr SetDSequenceSrcRect(ImageSequence seqID, const Rect *srcRect)
  632. ;
  633.     IF ¬ GENERATINGCFM THEN
  634.         Macro
  635.         _SetDSequenceSrcRect
  636.             moveq    #53,d0
  637.             dc.w     $AAA3
  638.         EndM
  639.     ELSE
  640.         IMPORT    SetDSequenceSrcRect
  641.     ENDIF
  642.  
  643. ;
  644. ; pascal OSErr GetDSequenceImageBuffer(ImageSequence seqID, GWorldPtr *gworld)
  645. ;
  646.     IF ¬ GENERATINGCFM THEN
  647.         Macro
  648.         _GetDSequenceImageBuffer
  649.             moveq    #21,d0
  650.             dc.w     $AAA3
  651.         EndM
  652.     ELSE
  653.         IMPORT    GetDSequenceImageBuffer
  654.     ENDIF
  655.  
  656. ;
  657. ; pascal OSErr GetDSequenceScreenBuffer(ImageSequence seqID, GWorldPtr *gworld)
  658. ;
  659.     IF ¬ GENERATINGCFM THEN
  660.         Macro
  661.         _GetDSequenceScreenBuffer
  662.             moveq    #22,d0
  663.             dc.w     $AAA3
  664.         EndM
  665.     ELSE
  666.         IMPORT    GetDSequenceScreenBuffer
  667.     ENDIF
  668.  
  669. ;
  670. ; pascal OSErr SetCSequenceQuality(ImageSequence seqID, CodecQ spatialQuality, CodecQ temporalQuality)
  671. ;
  672.     IF ¬ GENERATINGCFM THEN
  673.         Macro
  674.         _SetCSequenceQuality
  675.             moveq    #23,d0
  676.             dc.w     $AAA3
  677.         EndM
  678.     ELSE
  679.         IMPORT    SetCSequenceQuality
  680.     ENDIF
  681.  
  682. ;
  683. ; pascal OSErr SetCSequencePrev(ImageSequence seqID, PixMapHandle prev, const Rect *prevRect)
  684. ;
  685.     IF ¬ GENERATINGCFM THEN
  686.         Macro
  687.         _SetCSequencePrev
  688.             moveq    #24,d0
  689.             dc.w     $AAA3
  690.         EndM
  691.     ELSE
  692.         IMPORT    SetCSequencePrev
  693.     ENDIF
  694.  
  695. ;
  696. ; pascal OSErr SetCSequenceFlushProc(ImageSequence seqID, ICMFlushProcRecordPtr flushProc, long bufferSize)
  697. ;
  698.     IF ¬ GENERATINGCFM THEN
  699.         Macro
  700.         _SetCSequenceFlushProc
  701.             moveq    #51,d0
  702.             dc.w     $AAA3
  703.         EndM
  704.     ELSE
  705.         IMPORT    SetCSequenceFlushProc
  706.     ENDIF
  707.  
  708. ;
  709. ; pascal OSErr SetCSequenceKeyFrameRate(ImageSequence seqID, long keyframerate)
  710. ;
  711.     IF ¬ GENERATINGCFM THEN
  712.         Macro
  713.         _SetCSequenceKeyFrameRate
  714.             moveq    #54,d0
  715.             dc.w     $AAA3
  716.         EndM
  717.     ELSE
  718.         IMPORT    SetCSequenceKeyFrameRate
  719.     ENDIF
  720.  
  721. ;
  722. ; pascal OSErr GetCSequenceKeyFrameRate(ImageSequence seqID, long *keyframerate)
  723. ;
  724.     IF ¬ GENERATINGCFM THEN
  725.         Macro
  726.         _GetCSequenceKeyFrameRate
  727.             dc.w     $203C
  728.             dc.w     $0008
  729.             dc.w     $004B
  730.             dc.w     $AAA3
  731.         EndM
  732.     ELSE
  733.         IMPORT    GetCSequenceKeyFrameRate
  734.     ENDIF
  735.  
  736. ;
  737. ; pascal OSErr GetCSequencePrevBuffer(ImageSequence seqID, GWorldPtr *gworld)
  738. ;
  739.     IF ¬ GENERATINGCFM THEN
  740.         Macro
  741.         _GetCSequencePrevBuffer
  742.             moveq    #25,d0
  743.             dc.w     $AAA3
  744.         EndM
  745.     ELSE
  746.         IMPORT    GetCSequencePrevBuffer
  747.     ENDIF
  748.  
  749. ;
  750. ; pascal OSErr CDSequenceBusy(ImageSequence seqID)
  751. ;
  752.     IF ¬ GENERATINGCFM THEN
  753.         Macro
  754.         _CDSequenceBusy
  755.             moveq    #26,d0
  756.             dc.w     $AAA3
  757.         EndM
  758.     ELSE
  759.         IMPORT    CDSequenceBusy
  760.     ENDIF
  761.  
  762. ;
  763. ; pascal OSErr CDSequenceEnd(ImageSequence seqID)
  764. ;
  765.     IF ¬ GENERATINGCFM THEN
  766.         Macro
  767.         _CDSequenceEnd
  768.             moveq    #27,d0
  769.             dc.w     $AAA3
  770.         EndM
  771.     ELSE
  772.         IMPORT    CDSequenceEnd
  773.     ENDIF
  774.  
  775. ;
  776. ; pascal OSErr CDSequenceEquivalentImageDescription(ImageSequence seqID, ImageDescriptionHandle newDesc, Boolean *equivalent)
  777. ;
  778.     IF ¬ GENERATINGCFM THEN
  779.         Macro
  780.         _CDSequenceEquivalentImageDescription
  781.             dc.w     $203C
  782.             dc.w     $000C
  783.             dc.w     $0065
  784.             dc.w     $AAA3
  785.         EndM
  786.     ELSE
  787.         IMPORT    CDSequenceEquivalentImageDescription
  788.     ENDIF
  789.  
  790. ;
  791. ; pascal OSErr GetCompressedImageSize(ImageDescriptionHandle desc, Ptr data, long bufferSize, ICMDataProcRecordPtr dataProc, long *dataSize)
  792. ;
  793.     IF ¬ GENERATINGCFM THEN
  794.         Macro
  795.         _GetCompressedImageSize
  796.             moveq    #28,d0
  797.             dc.w     $AAA3
  798.         EndM
  799.     ELSE
  800.         IMPORT    GetCompressedImageSize
  801.     ENDIF
  802.  
  803. ;
  804. ; pascal OSErr GetSimilarity(PixMapHandle src, const Rect *srcRect, ImageDescriptionHandle desc, Ptr data, Fixed *similarity)
  805. ;
  806.     IF ¬ GENERATINGCFM THEN
  807.         Macro
  808.         _GetSimilarity
  809.             moveq    #29,d0
  810.             dc.w     $AAA3
  811.         EndM
  812.     ELSE
  813.         IMPORT    GetSimilarity
  814.     ENDIF
  815.  
  816. ;
  817. ; pascal OSErr GetImageDescriptionCTable(ImageDescriptionHandle desc, CTabHandle *ctable)
  818. ;
  819.     IF ¬ GENERATINGCFM THEN
  820.         Macro
  821.         _GetImageDescriptionCTable
  822.             moveq    #30,d0
  823.             dc.w     $AAA3
  824.         EndM
  825.     ELSE
  826.         IMPORT    GetImageDescriptionCTable
  827.     ENDIF
  828.  
  829. ;
  830. ; pascal OSErr SetImageDescriptionCTable(ImageDescriptionHandle desc, CTabHandle ctable)
  831. ;
  832.     IF ¬ GENERATINGCFM THEN
  833.         Macro
  834.         _SetImageDescriptionCTable
  835.             moveq    #31,d0
  836.             dc.w     $AAA3
  837.         EndM
  838.     ELSE
  839.         IMPORT    SetImageDescriptionCTable
  840.     ENDIF
  841.  
  842. ;
  843. ; pascal OSErr GetImageDescriptionExtension(ImageDescriptionHandle desc, Handle *extension, long idType, long index)
  844. ;
  845.     IF ¬ GENERATINGCFM THEN
  846.         Macro
  847.         _GetImageDescriptionExtension
  848.             moveq    #32,d0
  849.             dc.w     $AAA3
  850.         EndM
  851.     ELSE
  852.         IMPORT    GetImageDescriptionExtension
  853.     ENDIF
  854.  
  855. ;
  856. ; pascal OSErr AddImageDescriptionExtension(ImageDescriptionHandle desc, Handle extension, long idType)
  857. ;
  858.     IF ¬ GENERATINGCFM THEN
  859.         Macro
  860.         _AddImageDescriptionExtension
  861.             moveq    #33,d0
  862.             dc.w     $AAA3
  863.         EndM
  864.     ELSE
  865.         IMPORT    AddImageDescriptionExtension
  866.     ENDIF
  867.  
  868. ;
  869. ; pascal OSErr SetImageDescriptionExtension(ImageDescriptionHandle desc, Handle extension, long idType)
  870. ;
  871.     IF ¬ GENERATINGCFM THEN
  872.         Macro
  873.         _SetImageDescriptionExtension
  874.             moveq    #33,d0
  875.             dc.w     $AAA3
  876.         EndM
  877.     ELSE
  878.         IMPORT    SetImageDescriptionExtension
  879.     ENDIF
  880.  
  881. ;
  882. ; pascal OSErr RemoveImageDescriptionExtension(ImageDescription **desc, long idType, long index)
  883. ;
  884.     IF ¬ GENERATINGCFM THEN
  885.         Macro
  886.         _RemoveImageDescriptionExtension
  887.             dc.w     $203C
  888.             dc.w     $000C
  889.             dc.w     $003A
  890.             dc.w     $AAA3
  891.         EndM
  892.     ELSE
  893.         IMPORT    RemoveImageDescriptionExtension
  894.     ENDIF
  895.  
  896. ;
  897. ; pascal OSErr CountImageDescriptionExtensionType(ImageDescription **desc, long idType, long *count)
  898. ;
  899.     IF ¬ GENERATINGCFM THEN
  900.         Macro
  901.         _CountImageDescriptionExtensionType
  902.             dc.w     $203C
  903.             dc.w     $000C
  904.             dc.w     $003B
  905.             dc.w     $AAA3
  906.         EndM
  907.     ELSE
  908.         IMPORT    CountImageDescriptionExtensionType
  909.     ENDIF
  910.  
  911. ;
  912. ; pascal OSErr GetNextImageDescriptionExtensionType(ImageDescription **desc, long *idType)
  913. ;
  914.     IF ¬ GENERATINGCFM THEN
  915.         Macro
  916.         _GetNextImageDescriptionExtensionType
  917.             dc.w     $203C
  918.             dc.w     $0008
  919.             dc.w     $003C
  920.             dc.w     $AAA3
  921.         EndM
  922.     ELSE
  923.         IMPORT    GetNextImageDescriptionExtensionType
  924.     ENDIF
  925.  
  926. ;
  927. ; pascal OSErr FindCodec(CodecType cType, CodecComponent specCodec, CompressorComponent *compressor, DecompressorComponent *decompressor)
  928. ;
  929.     IF ¬ GENERATINGCFM THEN
  930.         Macro
  931.         _FindCodec
  932.             moveq    #35,d0
  933.             dc.w     $AAA3
  934.         EndM
  935.     ELSE
  936.         IMPORT    FindCodec
  937.     ENDIF
  938.  
  939. ;
  940. ; pascal OSErr CompressPicture(PicHandle srcPicture, PicHandle dstPicture, CodecQ quality, CodecType cType)
  941. ;
  942.     IF ¬ GENERATINGCFM THEN
  943.         Macro
  944.         _CompressPicture
  945.             moveq    #36,d0
  946.             dc.w     $AAA3
  947.         EndM
  948.     ELSE
  949.         IMPORT    CompressPicture
  950.     ENDIF
  951.  
  952. ;
  953. ; pascal OSErr FCompressPicture(PicHandle srcPicture, PicHandle dstPicture, short colorDepth, CTabHandle clut, CodecQ quality, short doDither, short compressAgain, ICMProgressProcRecordPtr progressProc, CodecType cType, CompressorComponent codec)
  954. ;
  955.     IF ¬ GENERATINGCFM THEN
  956.         Macro
  957.         _FCompressPicture
  958.             moveq    #37,d0
  959.             dc.w     $AAA3
  960.         EndM
  961.     ELSE
  962.         IMPORT    FCompressPicture
  963.     ENDIF
  964.  
  965. ;
  966. ; pascal OSErr CompressPictureFile(short srcRefNum, short dstRefNum, CodecQ quality, CodecType cType)
  967. ;
  968.     IF ¬ GENERATINGCFM THEN
  969.         Macro
  970.         _CompressPictureFile
  971.             moveq    #38,d0
  972.             dc.w     $AAA3
  973.         EndM
  974.     ELSE
  975.         IMPORT    CompressPictureFile
  976.     ENDIF
  977.  
  978. ;
  979. ; pascal OSErr FCompressPictureFile(short srcRefNum, short dstRefNum, short colorDepth, CTabHandle clut, CodecQ quality, short doDither, short compressAgain, ICMProgressProcRecordPtr progressProc, CodecType cType, CompressorComponent codec)
  980. ;
  981.     IF ¬ GENERATINGCFM THEN
  982.         Macro
  983.         _FCompressPictureFile
  984.             moveq    #39,d0
  985.             dc.w     $AAA3
  986.         EndM
  987.     ELSE
  988.         IMPORT    FCompressPictureFile
  989.     ENDIF
  990.  
  991. ;
  992. ; pascal OSErr GetPictureFileHeader(short refNum, Rect *frame, OpenCPicParams *header)
  993. ;
  994.     IF ¬ GENERATINGCFM THEN
  995.         Macro
  996.         _GetPictureFileHeader
  997.             moveq    #40,d0
  998.             dc.w     $AAA3
  999.         EndM
  1000.     ELSE
  1001.         IMPORT    GetPictureFileHeader
  1002.     ENDIF
  1003.  
  1004. ;
  1005. ; pascal OSErr DrawPictureFile(short refNum, const Rect *frame, ICMProgressProcRecordPtr progressProc)
  1006. ;
  1007.     IF ¬ GENERATINGCFM THEN
  1008.         Macro
  1009.         _DrawPictureFile
  1010.             moveq    #41,d0
  1011.             dc.w     $AAA3
  1012.         EndM
  1013.     ELSE
  1014.         IMPORT    DrawPictureFile
  1015.     ENDIF
  1016.  
  1017. ;
  1018. ; pascal OSErr DrawTrimmedPicture(PicHandle srcPicture, const Rect *frame, RgnHandle trimMask, short doDither, ICMProgressProcRecordPtr progressProc)
  1019. ;
  1020.     IF ¬ GENERATINGCFM THEN
  1021.         Macro
  1022.         _DrawTrimmedPicture
  1023.             moveq    #46,d0
  1024.             dc.w     $AAA3
  1025.         EndM
  1026.     ELSE
  1027.         IMPORT    DrawTrimmedPicture
  1028.     ENDIF
  1029.  
  1030. ;
  1031. ; pascal OSErr DrawTrimmedPictureFile(short srcRefnum, const Rect *frame, RgnHandle trimMask, short doDither, ICMProgressProcRecordPtr progressProc)
  1032. ;
  1033.     IF ¬ GENERATINGCFM THEN
  1034.         Macro
  1035.         _DrawTrimmedPictureFile
  1036.             moveq    #47,d0
  1037.             dc.w     $AAA3
  1038.         EndM
  1039.     ELSE
  1040.         IMPORT    DrawTrimmedPictureFile
  1041.     ENDIF
  1042.  
  1043. ;
  1044. ; pascal OSErr MakeThumbnailFromPicture(PicHandle picture, short colorDepth, PicHandle thumbnail, ICMProgressProcRecordPtr progressProc)
  1045. ;
  1046.     IF ¬ GENERATINGCFM THEN
  1047.         Macro
  1048.         _MakeThumbnailFromPicture
  1049.             moveq    #42,d0
  1050.             dc.w     $AAA3
  1051.         EndM
  1052.     ELSE
  1053.         IMPORT    MakeThumbnailFromPicture
  1054.     ENDIF
  1055.  
  1056. ;
  1057. ; pascal OSErr MakeThumbnailFromPictureFile(short refNum, short colorDepth, PicHandle thumbnail, ICMProgressProcRecordPtr progressProc)
  1058. ;
  1059.     IF ¬ GENERATINGCFM THEN
  1060.         Macro
  1061.         _MakeThumbnailFromPictureFile
  1062.             moveq    #43,d0
  1063.             dc.w     $AAA3
  1064.         EndM
  1065.     ELSE
  1066.         IMPORT    MakeThumbnailFromPictureFile
  1067.     ENDIF
  1068.  
  1069. ;
  1070. ; pascal OSErr MakeThumbnailFromPixMap(PixMapHandle src, const Rect *srcRect, short colorDepth, PicHandle thumbnail, ICMProgressProcRecordPtr progressProc)
  1071. ;
  1072.     IF ¬ GENERATINGCFM THEN
  1073.         Macro
  1074.         _MakeThumbnailFromPixMap
  1075.             moveq    #44,d0
  1076.             dc.w     $AAA3
  1077.         EndM
  1078.     ELSE
  1079.         IMPORT    MakeThumbnailFromPixMap
  1080.     ENDIF
  1081.  
  1082. ;
  1083. ; pascal OSErr TrimImage(ImageDescriptionHandle desc, Ptr inData, long inBufferSize, ICMDataProcRecordPtr dataProc, Ptr outData, long outBufferSize, ICMFlushProcRecordPtr flushProc, Rect *trimRect, ICMProgressProcRecordPtr progressProc)
  1084. ;
  1085.     IF ¬ GENERATINGCFM THEN
  1086.         Macro
  1087.         _TrimImage
  1088.             moveq    #45,d0
  1089.             dc.w     $AAA3
  1090.         EndM
  1091.     ELSE
  1092.         IMPORT    TrimImage
  1093.     ENDIF
  1094.  
  1095. ;
  1096. ; pascal OSErr ConvertImage(ImageDescriptionHandle srcDD, Ptr srcData, short colorDepth, CTabHandle clut, CodecQ accuracy, CodecQ quality, CodecType cType, CodecComponent codec, ImageDescriptionHandle dstDD, Ptr dstData)
  1097. ;
  1098.     IF ¬ GENERATINGCFM THEN
  1099.         Macro
  1100.         _ConvertImage
  1101.             moveq    #48,d0
  1102.             dc.w     $AAA3
  1103.         EndM
  1104.     ELSE
  1105.         IMPORT    ConvertImage
  1106.     ENDIF
  1107.  
  1108. ;
  1109. ; pascal OSErr GetCompressedPixMapInfo(PixMapPtr pix, ImageDescriptionHandle *desc, Ptr *data, long *bufferSize, ICMDataProcRecord *dataProc, ICMProgressProcRecord *progressProc)
  1110. ;
  1111.     IF ¬ GENERATINGCFM THEN
  1112.         Macro
  1113.         _GetCompressedPixMapInfo
  1114.             moveq    #55,d0
  1115.             dc.w     $AAA3
  1116.         EndM
  1117.     ELSE
  1118.         IMPORT    GetCompressedPixMapInfo
  1119.     ENDIF
  1120.  
  1121. ;
  1122. ; pascal OSErr SetCompressedPixMapInfo(PixMapPtr pix, ImageDescriptionHandle desc, Ptr data, long bufferSize, ICMDataProcRecordPtr dataProc, ICMProgressProcRecordPtr progressProc)
  1123. ;
  1124.     IF ¬ GENERATINGCFM THEN
  1125.         Macro
  1126.         _SetCompressedPixMapInfo
  1127.             moveq    #56,d0
  1128.             dc.w     $AAA3
  1129.         EndM
  1130.     ELSE
  1131.         IMPORT    SetCompressedPixMapInfo
  1132.     ENDIF
  1133.  
  1134. ;
  1135. ; pascal void StdPix(PixMapPtr src, const Rect *srcRect, MatrixRecordPtr matrix, short mode, RgnHandle mask, PixMapPtr matte, const Rect *matteRect, short flags)
  1136. ;
  1137.     IF ¬ GENERATINGCFM THEN
  1138.         Macro
  1139.         _StdPix
  1140.             moveq    #12,d0
  1141.             dc.w     $AAA3
  1142.         EndM
  1143.     ELSE
  1144.         IMPORT    StdPix
  1145.     ENDIF
  1146.  
  1147. ;
  1148. ; pascal OSErr TransformRgn(MatrixRecordPtr matrix, RgnHandle rgn)
  1149. ;
  1150.     IF ¬ GENERATINGCFM THEN
  1151.         Macro
  1152.         _TransformRgn
  1153.             moveq    #57,d0
  1154.             dc.w     $AAA3
  1155.         EndM
  1156.     ELSE
  1157.         IMPORT    TransformRgn
  1158.     ENDIF
  1159.  
  1160. ;**********
  1161. ;    preview stuff
  1162. ;**********
  1163. ;
  1164. ; pascal void SFGetFilePreview(Point where, ConstStr255Param prompt, FileFilterUPP fileFilter, short numTypes, SFTypeList typeList, DlgHookUPP dlgHook, SFReply *reply)
  1165. ;
  1166.     IF ¬ GENERATINGCFM THEN
  1167.         Macro
  1168.         _SFGetFilePreview
  1169.             moveq    #65,d0
  1170.             dc.w     $AAA3
  1171.         EndM
  1172.     ELSE
  1173.         IMPORT    SFGetFilePreview
  1174.     ENDIF
  1175.  
  1176. ;
  1177. ; pascal void SFPGetFilePreview(Point where, ConstStr255Param prompt, FileFilterUPP fileFilter, short numTypes, SFTypeList typeList, DlgHookUPP dlgHook, SFReply *reply, short dlgID, ModalFilterUPP filterProc)
  1178. ;
  1179.     IF ¬ GENERATINGCFM THEN
  1180.         Macro
  1181.         _SFPGetFilePreview
  1182.             moveq    #66,d0
  1183.             dc.w     $AAA3
  1184.         EndM
  1185.     ELSE
  1186.         IMPORT    SFPGetFilePreview
  1187.     ENDIF
  1188.  
  1189. ;
  1190. ; pascal void StandardGetFilePreview(FileFilterUPP fileFilter, short numTypes, SFTypeList typeList, StandardFileReply *reply)
  1191. ;
  1192.     IF ¬ GENERATINGCFM THEN
  1193.         Macro
  1194.         _StandardGetFilePreview
  1195.             moveq    #67,d0
  1196.             dc.w     $AAA3
  1197.         EndM
  1198.     ELSE
  1199.         IMPORT    StandardGetFilePreview
  1200.     ENDIF
  1201.  
  1202. ;
  1203. ; pascal void CustomGetFilePreview(FileFilterYDUPP fileFilter, short numTypes, SFTypeList typeList, StandardFileReply *reply, short dlgID, Point where, DlgHookYDUPP dlgHook, ModalFilterYDUPP filterProc, const short *activeList, ActivateYDUPP activateProc, void *yourDataPtr)
  1204. ;
  1205.     IF ¬ GENERATINGCFM THEN
  1206.         Macro
  1207.         _CustomGetFilePreview
  1208.             moveq    #68,d0
  1209.             dc.w     $AAA3
  1210.         EndM
  1211.     ELSE
  1212.         IMPORT    CustomGetFilePreview
  1213.     ENDIF
  1214.  
  1215. ;
  1216. ; pascal OSErr MakeFilePreview(short resRefNum, ICMProgressProcRecordPtr progress)
  1217. ;
  1218.     IF ¬ GENERATINGCFM THEN
  1219.         Macro
  1220.         _MakeFilePreview
  1221.             moveq    #69,d0
  1222.             dc.w     $AAA3
  1223.         EndM
  1224.     ELSE
  1225.         IMPORT    MakeFilePreview
  1226.     ENDIF
  1227.  
  1228. ;
  1229. ; pascal OSErr AddFilePreview(short resRefNum, OSType previewType, Handle previewData)
  1230. ;
  1231.     IF ¬ GENERATINGCFM THEN
  1232.         Macro
  1233.         _AddFilePreview
  1234.             moveq    #70,d0
  1235.             dc.w     $AAA3
  1236.         EndM
  1237.     ELSE
  1238.         IMPORT    AddFilePreview
  1239.     ENDIF
  1240.  
  1241.  
  1242. sfpItemPreviewAreaUser            EQU        11
  1243. sfpItemPreviewStaticText        EQU        12
  1244. sfpItemPreviewDividerUser        EQU        13
  1245. sfpItemCreatePreviewButton        EQU        14
  1246. sfpItemShowPreviewButton        EQU        15
  1247.  
  1248. PreviewResourceRecord     RECORD    0
  1249. modDate                     ds.l    1
  1250. version                     ds.w    1
  1251. resType                     ds.l    1
  1252. resID                     ds.w    1
  1253. sizeof                     EQU    *
  1254.                         ENDR
  1255.  
  1256. ; typedef struct PreviewResourceRecord  PreviewResourceRecord, *PreviewResourcePtr, **PreviewResource
  1257. ;
  1258. ; pascal void AlignScreenRect(Rect *rp, ICMAlignmentProcRecordPtr alignmentProc)
  1259. ;
  1260.     IF ¬ GENERATINGCFM THEN
  1261.         Macro
  1262.         _AlignScreenRect
  1263.             dc.w     $203C
  1264.             dc.w     $0008
  1265.             dc.w     $004C
  1266.             dc.w     $AAA3
  1267.         EndM
  1268.     ELSE
  1269.         IMPORT    AlignScreenRect
  1270.     ENDIF
  1271.  
  1272. ;
  1273. ; pascal void AlignWindow(WindowPtr wp, Boolean front, const Rect *alignmentRect, ICMAlignmentProcRecordPtr alignmentProc)
  1274. ;
  1275.     IF ¬ GENERATINGCFM THEN
  1276.         Macro
  1277.         _AlignWindow
  1278.             dc.w     $203C
  1279.             dc.w     $000E
  1280.             dc.w     $004D
  1281.             dc.w     $AAA3
  1282.         EndM
  1283.     ELSE
  1284.         IMPORT    AlignWindow
  1285.     ENDIF
  1286.  
  1287. ;
  1288. ; pascal void DragAlignedWindow(WindowPtr wp, Point startPt, Rect *boundsRect, Rect *alignmentRect, ICMAlignmentProcRecordPtr alignmentProc)
  1289. ;
  1290.     IF ¬ GENERATINGCFM THEN
  1291.         Macro
  1292.         _DragAlignedWindow
  1293.             dc.w     $203C
  1294.             dc.w     $0014
  1295.             dc.w     $004E
  1296.             dc.w     $AAA3
  1297.         EndM
  1298.     ELSE
  1299.         IMPORT    DragAlignedWindow
  1300.     ENDIF
  1301.  
  1302. ;
  1303. ; pascal long DragAlignedGrayRgn(RgnHandle theRgn, Point startPt, Rect *boundsRect, Rect *slopRect, short axis, UniversalProcPtr actionProc, Rect *alignmentRect, ICMAlignmentProcRecordPtr alignmentProc)
  1304. ;
  1305.     IF ¬ GENERATINGCFM THEN
  1306.         Macro
  1307.         _DragAlignedGrayRgn
  1308.             dc.w     $203C
  1309.             dc.w     $001E
  1310.             dc.w     $004F
  1311.             dc.w     $AAA3
  1312.         EndM
  1313.     ELSE
  1314.         IMPORT    DragAlignedGrayRgn
  1315.     ENDIF
  1316.  
  1317. ;
  1318. ; pascal OSErr SetCSequenceDataRateParams(ImageSequence seqID, DataRateParamsPtr params)
  1319. ;
  1320.     IF ¬ GENERATINGCFM THEN
  1321.         Macro
  1322.         _SetCSequenceDataRateParams
  1323.             dc.w     $203C
  1324.             dc.w     $0008
  1325.             dc.w     $0050
  1326.             dc.w     $AAA3
  1327.         EndM
  1328.     ELSE
  1329.         IMPORT    SetCSequenceDataRateParams
  1330.     ENDIF
  1331.  
  1332. ;
  1333. ; pascal OSErr SetCSequenceFrameNumber(ImageSequence seqID, long frameNumber)
  1334. ;
  1335.     IF ¬ GENERATINGCFM THEN
  1336.         Macro
  1337.         _SetCSequenceFrameNumber
  1338.             dc.w     $203C
  1339.             dc.w     $0008
  1340.             dc.w     $0051
  1341.             dc.w     $AAA3
  1342.         EndM
  1343.     ELSE
  1344.         IMPORT    SetCSequenceFrameNumber
  1345.     ENDIF
  1346.  
  1347. ;
  1348. ; pascal QDErr NewImageGWorld(GWorldPtr *gworld, ImageDescriptionHandle idh, GWorldFlags flags)
  1349. ;
  1350.     IF ¬ GENERATINGCFM THEN
  1351.         Macro
  1352.         _NewImageGWorld
  1353.             dc.w     $203C
  1354.             dc.w     $000C
  1355.             dc.w     $0052
  1356.             dc.w     $AAA3
  1357.         EndM
  1358.     ELSE
  1359.         IMPORT    NewImageGWorld
  1360.     ENDIF
  1361.  
  1362. ;
  1363. ; pascal OSErr GetCSequenceDataRateParams(ImageSequence seqID, DataRateParamsPtr params)
  1364. ;
  1365.     IF ¬ GENERATINGCFM THEN
  1366.         Macro
  1367.         _GetCSequenceDataRateParams
  1368.             dc.w     $203C
  1369.             dc.w     $0008
  1370.             dc.w     $0053
  1371.             dc.w     $AAA3
  1372.         EndM
  1373.     ELSE
  1374.         IMPORT    GetCSequenceDataRateParams
  1375.     ENDIF
  1376.  
  1377. ;
  1378. ; pascal OSErr GetCSequenceFrameNumber(ImageSequence seqID, long *frameNumber)
  1379. ;
  1380.     IF ¬ GENERATINGCFM THEN
  1381.         Macro
  1382.         _GetCSequenceFrameNumber
  1383.             dc.w     $203C
  1384.             dc.w     $0008
  1385.             dc.w     $0054
  1386.             dc.w     $AAA3
  1387.         EndM
  1388.     ELSE
  1389.         IMPORT    GetCSequenceFrameNumber
  1390.     ENDIF
  1391.  
  1392. ;
  1393. ; pascal OSErr GetBestDeviceRect(GDHandle *gdh, Rect *rp)
  1394. ;
  1395.     IF ¬ GENERATINGCFM THEN
  1396.         Macro
  1397.         _GetBestDeviceRect
  1398.             dc.w     $203C
  1399.             dc.w     $0008
  1400.             dc.w     $0055
  1401.             dc.w     $AAA3
  1402.         EndM
  1403.     ELSE
  1404.         IMPORT    GetBestDeviceRect
  1405.     ENDIF
  1406.  
  1407. ;
  1408. ; pascal OSErr SetSequenceProgressProc(ImageSequence seqID, ICMProgressProcRecord *progressProc)
  1409. ;
  1410.     IF ¬ GENERATINGCFM THEN
  1411.         Macro
  1412.         _SetSequenceProgressProc
  1413.             dc.w     $203C
  1414.             dc.w     $0008
  1415.             dc.w     $0056
  1416.             dc.w     $AAA3
  1417.         EndM
  1418.     ELSE
  1419.         IMPORT    SetSequenceProgressProc
  1420.     ENDIF
  1421.  
  1422. ;
  1423. ; pascal OSErr GDHasScale(GDHandle gdh, short depth, Fixed *scale)
  1424. ;
  1425.     IF ¬ GENERATINGCFM THEN
  1426.         Macro
  1427.         _GDHasScale
  1428.             dc.w     $203C
  1429.             dc.w     $000A
  1430.             dc.w     $005A
  1431.             dc.w     $AAA3
  1432.         EndM
  1433.     ELSE
  1434.         IMPORT    GDHasScale
  1435.     ENDIF
  1436.  
  1437. ;
  1438. ; pascal OSErr GDGetScale(GDHandle gdh, Fixed *scale, short *flags)
  1439. ;
  1440.     IF ¬ GENERATINGCFM THEN
  1441.         Macro
  1442.         _GDGetScale
  1443.             dc.w     $203C
  1444.             dc.w     $000C
  1445.             dc.w     $005B
  1446.             dc.w     $AAA3
  1447.         EndM
  1448.     ELSE
  1449.         IMPORT    GDGetScale
  1450.     ENDIF
  1451.  
  1452. ;
  1453. ; pascal OSErr GDSetScale(GDHandle gdh, Fixed scale, short flags)
  1454. ;
  1455.     IF ¬ GENERATINGCFM THEN
  1456.         Macro
  1457.         _GDSetScale
  1458.             dc.w     $203C
  1459.             dc.w     $000A
  1460.             dc.w     $005C
  1461.             dc.w     $AAA3
  1462.         EndM
  1463.     ELSE
  1464.         IMPORT    GDSetScale
  1465.     ENDIF
  1466.  
  1467. ;
  1468. ; pascal OSErr ICMShieldSequenceCursor(ImageSequence seqID)
  1469. ;
  1470.     IF ¬ GENERATINGCFM THEN
  1471.         Macro
  1472.         _ICMShieldSequenceCursor
  1473.             dc.w     $203C
  1474.             dc.w     $0004
  1475.             dc.w     $0062
  1476.             dc.w     $AAA3
  1477.         EndM
  1478.     ELSE
  1479.         IMPORT    ICMShieldSequenceCursor
  1480.     ENDIF
  1481.  
  1482. ;
  1483. ; pascal void ICMDecompressComplete(ImageSequence seqID, OSErr err, short flag, ICMCompletionProcRecordPtr completionRtn)
  1484. ;
  1485.     IF ¬ GENERATINGCFM THEN
  1486.         Macro
  1487.         _ICMDecompressComplete
  1488.             dc.w     $203C
  1489.             dc.w     $000C
  1490.             dc.w     $0063
  1491.             dc.w     $AAA3
  1492.         EndM
  1493.     ELSE
  1494.         IMPORT    ICMDecompressComplete
  1495.     ENDIF
  1496.  
  1497. ;
  1498. ; pascal OSErr SetDSequenceTimeCode(ImageSequence seqID, void *timeCodeFormat, void *timeCodeTime)
  1499. ;
  1500.     IF ¬ GENERATINGCFM THEN
  1501.         Macro
  1502.         _SetDSequenceTimeCode
  1503.             dc.w     $203C
  1504.             dc.w     $000C
  1505.             dc.w     $0064
  1506.             dc.w     $AAA3
  1507.         EndM
  1508.     ELSE
  1509.         IMPORT    SetDSequenceTimeCode
  1510.     ENDIF
  1511.  
  1512. ;
  1513. ; pascal OSErr CDSequenceNewMemory(ImageSequence seqID, Ptr *data, Size dataSize, long dataUse, ICMMemoryDisposedUPP memoryGoneProc, void *refCon)
  1514. ;
  1515.     IF ¬ GENERATINGCFM THEN
  1516.         Macro
  1517.         _CDSequenceNewMemory
  1518.             dc.w     $203C
  1519.             dc.w     $0018
  1520.             dc.w     $0066
  1521.             dc.w     $AAA3
  1522.         EndM
  1523.     ELSE
  1524.         IMPORT    CDSequenceNewMemory
  1525.     ENDIF
  1526.  
  1527. ;
  1528. ; pascal OSErr CDSequenceDisposeMemory(ImageSequence seqID, Ptr data)
  1529. ;
  1530.     IF ¬ GENERATINGCFM THEN
  1531.         Macro
  1532.         _CDSequenceDisposeMemory
  1533.             dc.w     $203C
  1534.             dc.w     $0008
  1535.             dc.w     $0067
  1536.             dc.w     $AAA3
  1537.         EndM
  1538.     ELSE
  1539.         IMPORT    CDSequenceDisposeMemory
  1540.     ENDIF
  1541.  
  1542. ;
  1543. ; pascal OSErr CDSequenceNewDataSource(ImageSequence seqID, ImageSequenceDataSource *sourceID, OSType sourceType, long sourceInputNumber, Handle dataDescription, void *transferProc, void *refCon)
  1544. ;
  1545.     IF ¬ GENERATINGCFM THEN
  1546.         Macro
  1547.         _CDSequenceNewDataSource
  1548.             dc.w     $203C
  1549.             dc.w     $001C
  1550.             dc.w     $0068
  1551.             dc.w     $AAA3
  1552.         EndM
  1553.     ELSE
  1554.         IMPORT    CDSequenceNewDataSource
  1555.     ENDIF
  1556.  
  1557. ;
  1558. ; pascal OSErr CDSequenceDisposeDataSource(ImageSequenceDataSource sourceID)
  1559. ;
  1560.     IF ¬ GENERATINGCFM THEN
  1561.         Macro
  1562.         _CDSequenceDisposeDataSource
  1563.             dc.w     $203C
  1564.             dc.w     $0004
  1565.             dc.w     $0069
  1566.             dc.w     $AAA3
  1567.         EndM
  1568.     ELSE
  1569.         IMPORT    CDSequenceDisposeDataSource
  1570.     ENDIF
  1571.  
  1572. ;
  1573. ; pascal OSErr CDSequenceSetSourceData(ImageSequenceDataSource sourceID, void *data)
  1574. ;
  1575.     IF ¬ GENERATINGCFM THEN
  1576.         Macro
  1577.         _CDSequenceSetSourceData
  1578.             dc.w     $203C
  1579.             dc.w     $0008
  1580.             dc.w     $006A
  1581.             dc.w     $AAA3
  1582.         EndM
  1583.     ELSE
  1584.         IMPORT    CDSequenceSetSourceData
  1585.     ENDIF
  1586.  
  1587. ;
  1588. ; pascal OSErr CDSequenceChangedSourceData(ImageSequenceDataSource sourceID)
  1589. ;
  1590.     IF ¬ GENERATINGCFM THEN
  1591.         Macro
  1592.         _CDSequenceChangedSourceData
  1593.             dc.w     $203C
  1594.             dc.w     $0004
  1595.             dc.w     $006B
  1596.             dc.w     $AAA3
  1597.         EndM
  1598.     ELSE
  1599.         IMPORT    CDSequenceChangedSourceData
  1600.     ENDIF
  1601.  
  1602. ;
  1603. ; pascal OSErr PtInDSequenceData(ImageSequence seqID, void *data, Size dataSize, Point where, Boolean *hit)
  1604. ;
  1605.     IF ¬ GENERATINGCFM THEN
  1606.         Macro
  1607.         _PtInDSequenceData
  1608.             dc.w     $203C
  1609.             dc.w     $0014
  1610.             dc.w     $006C
  1611.             dc.w     $AAA3
  1612.         EndM
  1613.     ELSE
  1614.         IMPORT    PtInDSequenceData
  1615.     ENDIF
  1616.  
  1617.  
  1618. identityMatrixType                EQU        $00                    ; result if matrix is identity 
  1619. translateMatrixType                EQU        $01                    ; result if matrix translates 
  1620. scaleMatrixType                    EQU        $02                    ; result if matrix scales 
  1621. scaleTranslateMatrixType        EQU        $03                    ; result if matrix scales and translates 
  1622. linearMatrixType                EQU        $04                    ; result if matrix is general 2 x 2 
  1623. linearTranslateMatrixType        EQU        $05                    ; result if matrix is general 2 x 2 and translates 
  1624. perspectiveMatrixType            EQU        $06                    ; result if matrix is general 3 x 3 
  1625.  
  1626. ; typedef unsigned short     MatrixFlags
  1627. ;
  1628. ; pascal short GetMatrixType(const MatrixRecord *m)
  1629. ;
  1630.     IF ¬ GENERATINGCFM THEN
  1631.         Macro
  1632.         _GetMatrixType
  1633.             moveq    #20,d0
  1634.             dc.w     $ABC2
  1635.         EndM
  1636.     ELSE
  1637.         IMPORT    GetMatrixType
  1638.     ENDIF
  1639.  
  1640. ;
  1641. ; pascal void CopyMatrix(const MatrixRecord *m1, MatrixRecord *m2)
  1642. ;
  1643.     IF ¬ GENERATINGCFM THEN
  1644.         Macro
  1645.         _CopyMatrix
  1646.             moveq    #32,d0
  1647.             dc.w     $ABC2
  1648.         EndM
  1649.     ELSE
  1650.         IMPORT    CopyMatrix
  1651.     ENDIF
  1652.  
  1653. ;
  1654. ; pascal Boolean EqualMatrix(const MatrixRecord *m1, const MatrixRecord *m2)
  1655. ;
  1656.     IF ¬ GENERATINGCFM THEN
  1657.         Macro
  1658.         _EqualMatrix
  1659.             moveq    #33,d0
  1660.             dc.w     $ABC2
  1661.         EndM
  1662.     ELSE
  1663.         IMPORT    EqualMatrix
  1664.     ENDIF
  1665.  
  1666. ;
  1667. ; pascal void SetIdentityMatrix(MatrixRecord *matrix)
  1668. ;
  1669.     IF ¬ GENERATINGCFM THEN
  1670.         Macro
  1671.         _SetIdentityMatrix
  1672.             moveq    #21,d0
  1673.             dc.w     $ABC2
  1674.         EndM
  1675.     ELSE
  1676.         IMPORT    SetIdentityMatrix
  1677.     ENDIF
  1678.  
  1679. ;
  1680. ; pascal void TranslateMatrix(MatrixRecord *m, Fixed deltaH, Fixed deltaV)
  1681. ;
  1682.     IF ¬ GENERATINGCFM THEN
  1683.         Macro
  1684.         _TranslateMatrix
  1685.             moveq    #25,d0
  1686.             dc.w     $ABC2
  1687.         EndM
  1688.     ELSE
  1689.         IMPORT    TranslateMatrix
  1690.     ENDIF
  1691.  
  1692. ;
  1693. ; pascal void RotateMatrix(MatrixRecord *m, Fixed degrees, Fixed aboutX, Fixed aboutY)
  1694. ;
  1695.     IF ¬ GENERATINGCFM THEN
  1696.         Macro
  1697.         _RotateMatrix
  1698.             moveq    #22,d0
  1699.             dc.w     $ABC2
  1700.         EndM
  1701.     ELSE
  1702.         IMPORT    RotateMatrix
  1703.     ENDIF
  1704.  
  1705. ;
  1706. ; pascal void ScaleMatrix(MatrixRecord *m, Fixed scaleX, Fixed scaleY, Fixed aboutX, Fixed aboutY)
  1707. ;
  1708.     IF ¬ GENERATINGCFM THEN
  1709.         Macro
  1710.         _ScaleMatrix
  1711.             moveq    #23,d0
  1712.             dc.w     $ABC2
  1713.         EndM
  1714.     ELSE
  1715.         IMPORT    ScaleMatrix
  1716.     ENDIF
  1717.  
  1718. ;
  1719. ; pascal void SkewMatrix(MatrixRecord *m, Fixed skewX, Fixed skewY, Fixed aboutX, Fixed aboutY)
  1720. ;
  1721.     IF ¬ GENERATINGCFM THEN
  1722.         Macro
  1723.         _SkewMatrix
  1724.             moveq    #24,d0
  1725.             dc.w     $ABC2
  1726.         EndM
  1727.     ELSE
  1728.         IMPORT    SkewMatrix
  1729.     ENDIF
  1730.  
  1731. ;
  1732. ; pascal OSErr TransformFixedPoints(const MatrixRecord *m, FixedPoint *fpt, long count)
  1733. ;
  1734.     IF ¬ GENERATINGCFM THEN
  1735.         Macro
  1736.         _TransformFixedPoints
  1737.             moveq    #34,d0
  1738.             dc.w     $ABC2
  1739.         EndM
  1740.     ELSE
  1741.         IMPORT    TransformFixedPoints
  1742.     ENDIF
  1743.  
  1744. ;
  1745. ; pascal OSErr TransformPoints(const MatrixRecord *mp, Point *pt1, long count)
  1746. ;
  1747.     IF ¬ GENERATINGCFM THEN
  1748.         Macro
  1749.         _TransformPoints
  1750.             moveq    #35,d0
  1751.             dc.w     $ABC2
  1752.         EndM
  1753.     ELSE
  1754.         IMPORT    TransformPoints
  1755.     ENDIF
  1756.  
  1757. ;
  1758. ; pascal Boolean TransformFixedRect(const MatrixRecord *m, FixedRect *fr, FixedPoint *fpp)
  1759. ;
  1760.     IF ¬ GENERATINGCFM THEN
  1761.         Macro
  1762.         _TransformFixedRect
  1763.             moveq    #36,d0
  1764.             dc.w     $ABC2
  1765.         EndM
  1766.     ELSE
  1767.         IMPORT    TransformFixedRect
  1768.     ENDIF
  1769.  
  1770. ;
  1771. ; pascal Boolean TransformRect(const MatrixRecord *m, Rect *r, FixedPoint *fpp)
  1772. ;
  1773.     IF ¬ GENERATINGCFM THEN
  1774.         Macro
  1775.         _TransformRect
  1776.             moveq    #37,d0
  1777.             dc.w     $ABC2
  1778.         EndM
  1779.     ELSE
  1780.         IMPORT    TransformRect
  1781.     ENDIF
  1782.  
  1783. ;
  1784. ; pascal Boolean InverseMatrix(const MatrixRecord *m, MatrixRecord *im)
  1785. ;
  1786.     IF ¬ GENERATINGCFM THEN
  1787.         Macro
  1788.         _InverseMatrix
  1789.             moveq    #28,d0
  1790.             dc.w     $ABC2
  1791.         EndM
  1792.     ELSE
  1793.         IMPORT    InverseMatrix
  1794.     ENDIF
  1795.  
  1796. ;
  1797. ; pascal void ConcatMatrix(const MatrixRecord *a, MatrixRecord *b)
  1798. ;
  1799.     IF ¬ GENERATINGCFM THEN
  1800.         Macro
  1801.         _ConcatMatrix
  1802.             moveq    #27,d0
  1803.             dc.w     $ABC2
  1804.         EndM
  1805.     ELSE
  1806.         IMPORT    ConcatMatrix
  1807.     ENDIF
  1808.  
  1809. ;
  1810. ; pascal void RectMatrix(MatrixRecord *matrix, const Rect *srcRect, const Rect *dstRect)
  1811. ;
  1812.     IF ¬ GENERATINGCFM THEN
  1813.         Macro
  1814.         _RectMatrix
  1815.             moveq    #30,d0
  1816.             dc.w     $ABC2
  1817.         EndM
  1818.     ELSE
  1819.         IMPORT    RectMatrix
  1820.     ENDIF
  1821.  
  1822. ;
  1823. ; pascal void MapMatrix(MatrixRecord *matrix, const Rect *fromRect, const Rect *toRect)
  1824. ;
  1825.     IF ¬ GENERATINGCFM THEN
  1826.         Macro
  1827.         _MapMatrix
  1828.             moveq    #29,d0
  1829.             dc.w     $ABC2
  1830.         EndM
  1831.     ELSE
  1832.         IMPORT    MapMatrix
  1833.     ENDIF
  1834.  
  1835.     ENDIF ; __IMAGECOMPRESSION__
  1836.